package com.jsh.modules.base.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jsh.common.system.base.entity.SysFile;
import com.jsh.modules.base.mapper.SysFileMapper;
import com.jsh.modules.base.service.SysFileService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
*@Author JiangYaoFeng
* 2021/12/2 10:50 
*
*/


@Service
public class SysFileServiceImpl extends ServiceImpl<SysFileMapper, SysFile> implements SysFileService {

    @Resource
    private SysFileMapper sysFileMapper;

    
    public int deleteByPrimaryKey(String id) {
        return sysFileMapper.deleteByPrimaryKey(id);
    }

    
    public int insert(SysFile record) {
        return sysFileMapper.insert(record);
    }

    
    public int insertSelective(SysFile record) {
        return sysFileMapper.insertSelective(record);
    }

    
    public SysFile selectByPrimaryKey(String id) {
        return sysFileMapper.selectByPrimaryKey(id);
    }

    
    public int updateByPrimaryKeySelective(SysFile record) {
        return sysFileMapper.updateByPrimaryKeySelective(record);
    }

    
    public int updateByPrimaryKey(SysFile record) {
        return sysFileMapper.updateByPrimaryKey(record);
    }

}
